{layout name="./p/base"}
<style type="text/css">
			/*后台ajax返回数据提示页面*/
			#hd-alert {
				padding: 40px 20px 6px;
				float: left;
				position: fixed;
				font-size: 25px;
				color: #FFFFFF;
				top: -100px;
				left: 50%;
				margin-left: -50px;
				border-radius: 5px;
				background: #00AA00;
				z-index: 9999;
			}
		</style>
  <div id="page-wrapper">
    <div class="row">
      <div class="col-lg-12">
        <h1>管理 <small>用户入住时确认信息</small></h1>
        <ol class="breadcrumb">
          <li><a href="/index"><i class="fa fa-dashboard"></i> 管理首页</a></li>
          <li class="active"><i class="fa fa-table"></i>用户入住时确认信息</li>
        </ol>
        <div class="alert alert-success alert-dismissable">
          <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
          这里可以确认用户是否存在
        </div>
      </div>
    </div>
    <form class="form-horizontal" role="form" action="/orders/index" method="post">
      <div class="form-group col-sm-3 input-group" style="margin-right:10px;">
        <label for="">请输入注册手机号</label>
        <input  class="form-control" type="text" name="mobile" value="" placeholder="请输入手机号" />
        <label for="">&nbsp;</label>
        <span class="input-group-btn">
          <input style="width: 150px;" class="phoneyzm text-center form-control" type="button" id="getCode" value="获取手机校验码" />
        </span>
      </div>
      <div class="form-group col-sm-3 input-group">
        <label for="">请输入手机验证码</label>
        <input class="form-control" type="text" placeholder="请输入手机验证码" value="" name="code">
        <label for="">&nbsp;</label>
        <span class="input-group-btn">
          <button class="btn btn-default" type="submit">搜索</button>
        </span>
      </div>
      <div class="clearfix"></div>
    </form>
  </div><!-- /#page-wrapper -->
	<script src="/js/jquery.cookie.js"></script>
	<script src="/js/manager.js"></script>
	<script type="text/javascript">
		$('#getCode').click(function(){
				var mobile = $('input[name="mobile"]').val();
				hd_ajax('/orders/code?'+Math.random(),{'mobile':mobile});
				//获取验证码倒计时
				getCodeTime('#getCode','captchaPwd');
		})
		cookieFailureTime('#getCode','captchaPwd');
	</script>
